package com.taxi.driver.socket;

/**
 * 功能描述：推送消息 对应的类型
 */
public class SocketPushType {

    //司机操作需要推送给乘客的操作码
    public static final int ORDER_DRIVER_TAKE = 1000;//司机已接单
    public static final int ORDER_DRIVER_SET_OUT = 1001;//司机已出发
    public static final int ORDER_DRIVER_ARRIVE_PICK_UP_LOCATION = 1002;//司机已到达接客地点，等待中
    public static final int ORDER_DRIVER_START_SERVICE = 1003;//开始服务
    public static final int ORDER_DRIVER_ARRIVE_DESTINATION = 1004;//到达目的地
    public static final int ORDER_DRIVER_UPD_LOCATION = 1005;//司机变更位置
    public static final int ORDER_DRIVER_RUSH_ORDER_SUCCESS = 1006;//抢单成功
    public static final int ORDER_DRIVER_RUSH_ORDER_FAIL = 1007;//抢单失败
    public static final int ORDER_DRIVER_HELP_PAYED_SUCCESS = 1008;//司机代支付成功
    public static final int RENT_ORDER_DRIVER_TAKE = 1009;//司机已接单_租车类型
    public static final int ORDER_MATCH_SUCCESS_TO_PASSENGER = 1010; //订单匹配上(推给乘客)
    public static final int ORDER_HAS_BEEN_ROBBED = 1013;

    //乘客操作需要推给司机的操作码
    public static final int ORDER_PUSH = 2000;//可抢订单推送
    public static final int ORDER_DISTRIBUTE = 2001;//订单派送
    public static final int ORDER_PASSENGER_CANCEL = 2002;//乘客取消订单
    public static final int ORDER_PASSENGER_ORDER_PAYED = 2003;//用户已支付
    public static final int ORDER_DISTRIBUTE_TO_OTHER = 2004;//订单被改派
    public static final int ORDER_CHANGE_DISTRIBUTE = 2005;//收到改派订单
    public static final int ORDER_SENDTASK_NEW_APPLY = 2006;//乘客申请行程
    public static final int ORDER_MATCH_SUCCESS_TO_DRIVER = 2007;//订单匹配上(推给司机)

    //后台自动流程的操作码
    public static final int ORDER_ADMIN_CANCEL = 3000;//后台取消订单
    public static final int ORDER_ADMIN_ASSIGN_SUCCESS = 3001;//指定司机派送成功
    public static final int ORDER_ADMIN_ASSIGN_FAIL = 3002;//指定司机派送失败
    public static final int ORDER_ADMIN_ASSIGN_CANCEL = 3003;//指定司机的订单后台取消
    public static final int ORDER_ADMIN_CLOSE = 3004;//后台关闭订单
    public static final int ORDER_ENT_CLOSE = 3005;//官网关闭订单
    public static final int ORDER_MATCH_THE_TIMEOVER = 3006;//后台匹配超时
    public static final int MODIFY_MONEY = 3007;//修改金额
    public static final int ACCOUNT_WAS_CREATED = 3100;// 账号被封
    public static final int SYSTEM_MESSAGE_NOTICE = 6001;//系统消息推送

    //提醒类推送
    public static final int ORDER_WAIT_SERVICE_NOTICE = 4000;//待服务订单通知
    public static final int ORDER_FLIGHT_CHANGE_NOTICE = 5000;//航班变动通知

    //其他通知类型
    public static final int OTHER_NOTICE = 6000;//其他通知推送


}
